/* Text Input Styling */
.TextInput {
    z-index: 10000;
    padding: 8px 15px;
    font: inherit;
    outline: none;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
    width: 100%;
}

.TextInput::-webkit-input-placeholder,
.TextInput::-moz-placeholder,
.TextInput:-ms-input-placeholder,
.TextInput::-ms-input-placeholder,
.TextInput::placeholder {
    color: silver;
    font-weight: 100;
}

.TextInput:focus {
    border-color: rgba(2, 121, 254, 0.38);
    box-shadow: 0 0 0 2px rgba(2, 121, 254, 0.38);
}

.TextInput.__error {
    background-color: #fcf4f4;
    border: 1px solid #fe7676;
}

.TextInput.__error:focus {
    border-color: rgba(254, 2, 57, 0.38);
    box-shadow: 0 0 0 2px rgba(254, 2, 57, 0.38);
}

/* Search Block Styling */
.SearchBlock {
    padding: 0;
    position: relative;
}

.SearchBlock__input {
    padding-right: 25px;
    font-size: 14px;
    text-overflow: ellipsis;
}

.SearchBlock__input.__left-icon {
    padding-left: 45px;
}

.SearchBlock__clear,
.SearchBlock__left-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 38px;
    display: flex;
    align-items: center;
}

.SearchBlock__clear {
    right: 20px;
    cursor: pointer;
}

.SearchBlock__left-icon {
    left: 20px;
    color: grey;
}

.SearchBlock .TextInput:focus {
    border-color: silver;
    box-shadow: none;
}

/* Text Block Styling */
.TextBlock {
    word-break: break-word;
    white-space: pre-line;
    line-height: 150%;
    color: rgb(153, 153, 153);
    font-weight: normal;
    font-size: 15px;
    padding: 10px 10px 5px;
    margin-top: 0;
    margin-bottom: 5px;
}

.TextBlock.__clickable {
    cursor: pointer;
}

.TextBlock .TextBlock__empty {
    color: #999;
}

.TextBlock__editor .ProseMirror {
    outline: none;
}

/* Screen Block Styling */
.ScreenBlock {
    user-select: none;
    box-sizing: border-box;
    /*height: 75px; */
    padding: 10px 0;
    position: relative;
    display: flex;
    font-size: inherit !important;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
}

.ScreenBlock.__clickable {
    cursor: pointer;
}

.ScreenBlock.__unavailable {
    background: #f0f0f0;
}

.ScreenBlock__left {
    width: 70px;
    flex-shrink: 0;
    justify-content: center;
    display: flex;
    align-items: center;
}

.ScreenBlock__right {
    overflow: hidden;
    flex-grow: 2;
    display: flex;
    align-items: center;
}

.ScreenBlock__right-wrapper {
    width: 100%;
    max-height: 55px;
    display: flex;
    flex-direction: column;
}
.Logo.__large {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-size: cover;
}
.ScreenBlock__logo {
    position: relative;
}

.ScreenBlock .ScreenBlock__left.__no-logo {
    width: 10px !important;
}

.ScreenBlock__logo-status {
    position: absolute;
    right: -3px;
    bottom: -3px;
}

.ScreenBlock__item-title {
    display: flex;
    align-items: baseline;
    line-height: 16px;
}

.ScreenBlock__item-title-left {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding-right: 5px;
    flex-grow: 2;
    font-family: var(--font-main);
}

.ScreenBlock__item-title-left--with-description {
    margin-bottom: 3px;
}

.ScreenBlock__item-title-right {
    white-space: nowrap;
}

.ScreenBlock__item-unread-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: #2381cc;
    margin-right: 5px;
}

.ScreenBlock__item-time {
    font-size: 13px;
    color: #9f9f9f;
    margin-right: 10px;
}

.ScreenBlock__description {
    font-size: 13px;
    line-height: 15px;
    max-height: 30px;
    opacity: 0.6;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5px;
}

.ScreenBlock.__selected {
    background-color: #2788cc !important;
    color: #fff !important;
}

.ScreenBlock.__selected .ScreenBlock__description,
.ScreenBlock.__selected .ScreenBlock__item-time {
    color: #fff !important;
}

.ScreenBlock.__medium {
    height: 60px;
    padding: 7px 0;
}

.ScreenBlock.__medium .ScreenBlock__left {
    width: 60px;
}

.ScreenBlock.__medium .ScreenBlock__description {
    max-height: 15px;
}

.ScreenBlock.__small {
    height: 50px;
    padding: 7px 0;
}

.ScreenBlock.__small .ScreenBlock__left {
    width: 50px;
}

.ScreenBlock.__small .ScreenBlock__description {
    white-space: nowrap;
}

.ScreenBlock.__mini .ScreenBlock__item-title-left {
    font-weight: 400;
    font-size: 12px;
}

.ScreenBlock.__mini .ScreenBlock__left {
    width: 30px;
}

.ScreenBlock.__mini {
    height: 30px;
    padding: 7px 0;
}

/* Custom Overrides */
.TextBlock {
    color: var(--color-font) !important;
}

.ScreenBlock.__clickable {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}